/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.line.pipe.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hopes.bizz.line.pipe.dto.CoordinateDTO;
import com.hopes.bizz.line.pipe.dto.LinePipelineExcelDTO;
import com.hopes.bizz.line.pipe.entity.LinePipelineEntity;
import com.hopes.bizz.line.pipe.vo.LinePipelineExcelVO;
import com.hopes.bizz.line.pipe.vo.LinePipelineVO;
import com.hopes.bizz.line.pipe.vo.PipeLineStatisticVO;
import com.hopes.boss.common.service.ExcelService;

import java.util.List;

/**
 * 管线
 *
 * @author pig
 * @date 2024-02-21 21:45:43
 */
public interface LinePipelineService extends ExcelService<LinePipelineExcelDTO, LinePipelineExcelVO, LinePipelineEntity> {

    /**
     * 分页查询
     * @param page      分页参数
     * @param wrapper   查询条件
     * @return          结果
     */
    IPage<LinePipelineVO> pageVo(Page page, LambdaQueryWrapper<LinePipelineEntity> wrapper);

    /**
     * 管线查询统计
     * @param coordinateList  区域坐标
     * @return                结果
     */
    PipeLineStatisticVO pipeLineStatistic(List<CoordinateDTO> coordinateList);
}
